package com.itboye.sunsun.person.ui;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.RelativeLayout;

import com.itboye.sunsun.R;
import com.itboye.sunsun.personsetting.ui.SetEmailActivity;
import com.itboye.sunsun.personsetting.ui.SetNickNameActivity;
import com.itboye.sunsun.support.BaseActivity;

public class PersonSettingActivity extends BaseActivity implements
		OnClickListener {

	private RelativeLayout nicknamerela;
	private RelativeLayout phonerela;
	private RelativeLayout emailrela;
	private RelativeLayout wechatrela;
	private RelativeLayout aboutrela;
	private RelativeLayout protocalrela;

	@Override
	protected void onCreate(Bundle arg0) {
		// TODO Auto-generated method stub
		super.onCreate(arg0);
		setContentView(R.layout.activity_personsetting);
	}

	@Override
	public void onClick(View v) {
		switch (v.getId()) {
		case R.id.nicknamerela:
			Intent intent = new Intent(PersonSettingActivity.this,
					SetNickNameActivity.class);
			startActivity(intent);
			break;
		case R.id.emailrela:
			Intent intent1 = new Intent(PersonSettingActivity.this,
					SetEmailActivity.class);
			startActivity(intent1);
			break;

		}

	}

}
